home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
Issue38
/
BuildPro
/
BUILD
/
FullBuild.bat
< prev
next >
Wrap
DOS Batch File
|
1998-05-20
|
699b
|
29 lines
@ECHO OFF
REM FullBuild.bat
REM This compiles the product in a debug state and places the executables and sundry files into a named directory.
REM Build the first project.
CD "..\My Project 1"
BRCC32 ExtraData.rc
DCC32 /B /H /W /Q /$D+ /$C+ /$O- /E..\BuildOutput MyProject1.dpr
IF ERRORLEVEL 1 GOTO FAILED
REM Now build the second project.
CD "..\My Project 2"
DCC32 /B /H /W /Q /$D+ /$C+ /$O- /E..\BuildOutput MyProject2.dpr
IF ERRORLEVEL 1 GOTO FAILED
REM Make the help file.
CD ..\HELP
HCW /C /E myproduct.hpj
IF ERRORLEVEL 1 GOTO FAILED
COPY MyProduct.hlp ..\BuildOutput
ECHO My Product built OK
GOTO END
:FAILED
ECHO My Product failed to build
:END
CD ..\Build